Ext.define('truckplanner.view.main' ,{
    extend: 'Ext.panel.Panel',
    alias : 'widget.main',
    
    requires: [ 'truckplanner.view.welcome',
	           'truckplanner.view.mission.Main',
	           'truckplanner.view.contact.List',
	           'truckplanner.view.yard.List'],

	layout : 'card',
	
	activeItem: 0,
	           
    items : [{
    	id : 'welcome',
    	xtype: 'welcome'
    },
    {
    	id : 'contact-list',
    	xtype: 'contactlist'
    },
    {
    	id : 'mission-main',
    	xtype: 'missionmain'
    },
    {
    	id : 'yard-list',
    	xtype: 'yardlist'
    }]
    
});